package com.za.wbw.dao.wap.impl;

import java.util.Iterator;
import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.za.wbw.dao.wap.MemberDao;
import com.za.wbw.model.wap.MemberInfo;
import com.za.wbw.model.wap.ShopInfo;

public class MemberDaoImpl extends SqlMapClientDaoSupport implements MemberDao{
	public int queryMemberUsingCount(int shopId) throws Exception{
		return (Integer)getSqlMapClientTemplate().queryForObject("wap.queryMemberUsingCount");
	}
	public List<String> queryMemberUsingList(int shopId) throws Exception{
		List<String> list = (List<String>)getSqlMapClientTemplate().queryForList("wap.queryMemberUsingList");
		return list;
	}
}